//
//  TodayKonwledgeTableViewCell.m
//  Toyohu
//
//  Created by Heige on 16/5/6.
//  Copyright © 2016年 celia. All rights reserved.
//

#import "TodayKonwledgeTableViewCell.h"
#import <UIImageView+WebCache.h>
#import "TodayKnowledgeModel.h"
@implementation TodayKonwledgeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(TodayKnowledgeModel *)model
{
    _model = model;
    [_img sd_setImageWithURL:[NSURL URLWithString:model.kPic]];
    _title.text = model.kTitle;
    _content.text = model.kAbstract;
}

@end
